This demo commission adds two sectors to a Mifare Classic 1k transponder and adds them to the card's MAD. If the applications already exist, they are overwritten. If coded on an empty card the MAD Sector is created according to the specifications of NXP. The MAD sector's write key is set to 0xAB CD EF AB CD EF, the read key is the standard MAD read key 0xA0 A1 A2 A3 A4 A5.

Created Sectors:

1) AID ABCD
   Position: First free sector according to the MAD.
   Data: Byte 0 - 2.5: Card ID, BCD (20 bit)
         Byte 2.5 - 4: Card ID, HEX (20 bit)
		 Byte 5 - 9: Card ID, ASCII (40 bit)
		 Byte 10 - 11: VarData "Year of birth", DECIMAL (16 bit)
		 Byte 12 - 13: VarData "Currency", HEX (16 bit)
		 Byte 14 - 27: VarData "Name", ASCII (112 bit)
		 Byte 28 - 31: VarData "CCN", BCD (32 bit)
		 Byte 32: XOR CRC over Byte 0-31 (8 bit)
		 Byte 33 - 47: Unchanged (120 bit)
   Trailer: Key A: 0xAA AA AA AA AA AA
            Key B: 0xBB BB BB BB BB BB
			Access Conditions: 0x78 77 88 C0 (Key A for reading, Key B for reading+writing, for every block)
		 
2) AID 3ADA (Card publisher sector)
   Position: Sector 15
   Data: Byte 0 - 15: Card ID, ASCII (128 bit)
         Byte 16 - 47: Fix data " MADA Marx Datentechnik GmbH   ", ASCII (256 bit)
   Trailer: Unchanged.

The corresponding .RDX file allows reading the coded card ID.
		 